package com.guobo.user.mapper;

import com.guobo.user.entity.TUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author guobo
 * @since 2021-05-05
 */
public interface TUserMapper extends BaseMapper<TUser> {

    @Select("select * from t_user where name=#{name} and password=#{password}")
    boolean getNameAndPwd(TUser tUser);

}
